from pydantic import BaseModel
from datetime import datetime


class Crop_data_processing(BaseModel):
    CropHistoryID: int
    SensorID: int
    AIModelID: int
    RawDataJSON: str
    AnalysisResultJSON: str
    RawDataRetrievalTime: datetime
    ProcessingTime: datetime
    Remarks: str

    class Config:
        orm_mode = True
